home *** CD-ROM | disk | FTP | other *** search
/ Faces of Papua New Guinea / Faces of Papua New Guinea by Wm. C. Clarke, Ph.D. (Wayzata Technology)(3211)(1995).bin / windows / menu / 00266_Script_266 < prev    next >
Text File  |  1995-04-10  |  639b  |  27 lines

  1. if the key = "q" and the commandDown then quit
  2.  
  3.  
  4. --tries to be a handler for playing sounds over and over
  5. --BUT repeat statements don't work
  6. --BUT multiple statements in a row don't work, even with 
  7. ----different arguments
  8. --only sound playfile works
  9.  
  10. on playpng1
  11. --repeat with counter = 1 to 3
  12. --puppetSound "PNG voice 2" --doesn't work
  13. sound playFile 1, "PNG voice 2"
  14. --sound playFile 1, "PNG rythmic2"
  15. --end repeat
  16. end playpng1
  17.  
  18. on playpng2
  19. --repeat with counter = 1 to 3
  20. --puppetSound "PNG voice 2" --doesn't work
  21. --sound playFile 1, "PNG voice 2"
  22. sound playFile 2, "PNG rythmic2"
  23. --end repeat
  24. end playpng2
  25.  
  26.  
  27.